package com.yixun.qfbao.response.premises.detail;

import java.io.Serializable;

import com.yixun.qfbao.apidto.PremisesDetailResDto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author zilong.liu
 * @date 2020-8-12
 */
@Data
public class HeaderDisplayUrlInfo implements Serializable{

	private static final long serialVersionUID = 1L;
	
	public HeaderDisplayUrlInfo() {
	}

	public HeaderDisplayUrlInfo(PremisesDetailResDto detailResDto) {
		//VR功能暂时不启用
//		this.vrUrl = detailResDto.getPanoramicView();
//		if(this.vrUrl != null) {
//			this.vrImgUrl = detailResDto.getUrl();
//		}
		//暂时无视频
//		if(this.viedoUrl != null) {
//			this.viedoImgUrl = detailResDto.getUrl();
//		}
//		this.imgCount = getPremisesDetailResDto.getPremisesImages().size();
	}

	@ApiModelProperty(value = "全景看房地址")
	private String vrUrl;
	
	@ApiModelProperty(value = "VR展示IMG URL")
	private String vrImgUrl;
	
	@ApiModelProperty(value = "暂时无视频，视频地址")
	private String viedoUrl;
	
	@ApiModelProperty(value = "暂时无视频地址，视频展示IMG URL")
	private String viedoImgUrl;
	
//	@ApiModelProperty(value = "图片总数量")
//	private int imgCount;
}
